package giftmail.util;

import giftmail.staticentity.MessageEntity;

public class AppForWxGetPrePayIdUtil extends MessageEntity {
	
	private static final long serialVersionUID = -5020439738976769011L;
	/**
	 * 工具类:微信支付的工具类
	 * 从微信支付成功后的结果中获取必要的参数
	 * 可扩展
	 * @author Demo
	 */
	private String prepayid;
	private String sign;
	private String nonce_str;
	private String timeStamp;
	
	public String getTimeStamp() {
		return timeStamp;
	}

	public void setTimeStamp(String timeStamp) {
		this.timeStamp = timeStamp;
	}

	public AppForWxGetPrePayIdUtil() {
		super();
	}

	public AppForWxGetPrePayIdUtil(Integer code, String message) {
		super(code, message);
	}
	
	public String getPrepayid() {
		return prepayid;
	}

	public void setPrepayid(String prepayid) {
		this.prepayid = prepayid;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getNonce_str() {
		return nonce_str;
	}

	public void setNonce_str(String nonce_str) {
		this.nonce_str = nonce_str;
	}
	
	public AppForWxGetPrePayIdUtil(Integer code, String message, String prepayid) {
		super(code, message);
		this.prepayid = prepayid;
	}

	public AppForWxGetPrePayIdUtil(Integer code, String message, String prepayid,String sign,String nonce_str) {
		super(code, message);
		this.prepayid = prepayid;
		this.sign=sign;
		this.nonce_str=nonce_str;
	}
	
	public AppForWxGetPrePayIdUtil(Integer code, String message, String prepayid,String sign,String nonce_str,String timeStamp) {
		super(code, message);
		this.prepayid = prepayid;
		this.sign=sign;
		this.nonce_str=nonce_str;
		this.timeStamp = timeStamp;
	}
}
